package com.smartwebx.ha.web.admin.module.screen.area;

import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.citrus.turbine.dataresolver.Param;
import com.smartwebx.ha.biz.assign.HaAreaManager;

public class AjaxDeleteArea {
	@Autowired
	private HaAreaManager haAreaManager;

	public void execute(@Param("areaIds") String areaIds) throws Exception {
		if (StringUtils.isNotBlank(areaIds)) {
			haAreaManager.delArea(areaIds);
		}

	}

}
